home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazine Rack
/
Magazine Rack.iso
/
MAGRACK.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-03-14
|
1KB
|
45 lines
echo off
rem Magazine Rack Start Procedure - Version 1.01 - Disc 1.0
rem March 14, 1991 - GJE
cls
if %1' == ' goto check_disc
if not exist %1\mrdisc.001 goto wrong_disc
if not exist previews.exe goto select_disc
if not exist views.cfg goto select_disc
previews %1 \menus\magrack
goto exit
:select_disc
%1
:check_disc
if not exist \mrdisc.001 goto specify_disc
cd \
previews \menus\magrack
goto exit
rem
:wrong_disc
echo ══════════════════════════════════════════════════════════════════════
echo ERROR!
echo ══════════════════════════════════════════════════════════════════════
echo The drive you specified, %1, does not contain Magazine Rack.
echo ──────────────────────────────────────────────────────────────────────
goto disc_message
rem
:specify_disc
echo ══════════════════════════════════════════════════════════════════════
echo PLEASE NOTE!
echo ══════════════════════════════════════════════════════════════════════
rem
:disc_message
echo You must specify the drive letter for the CD-ROM drive containing
echo Magazine Rack. Make sure you type a colon (:) after the drive letter.
echo
echo Type the following at the DOS prompt:
echo
echo MAGRACK R: ─┘
echo where "R:" is your CD-ROM drive letter
echo ─┘ means press the Enter key
echo ────────────────────────────────────────────────────────────────────────
goto exit
rem
:exit